const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  lintOnSave: false,
  transpileDependencies: true,
  css: {
    loaderOptions: {
      less: {
        lessOptions: {
          modifyVars: {
            // 'nav-bar-title-text-color': '#fff',
            // 'nav-bar-text-color': 'black',
            // 'swipe-indicator-size': '20px',
            // 'nav-bar-icon-color':'#fff',
            // 直接覆盖变量
            blue: '#1cb676',
            hack: 'true; @import "@/less/vant.less";'
          }
        }
      }
    }
  }
})
